<?php
/**
 * Core_Controller_Getaccesslevels
 * get access level array
 * @author adrian
 */
class Core_Controller_Getaccesslevels implements Core_Controller_Mainable{
    
    /**
     *
     * @var type $access_levels_list
     * access level list handler
     */
    public $access_levels_list;
    
    /**
     * constructor()
     */
    public function __construct() {
        $this->access_levels_list = new Core_Model_Getaccesslevels;
    }
    
    /**
     * main()
     * return access level list table
     * 
     * @param array $variables
     * @return type Core_Model_Getaccesslist::main($variables)
     */
    public function main(array $variables = null) {
        //$access_levels = array();
        //$access_levels = $this->access_levels_list->main($variables);
        //var_dump($access_levels);
        //die();
        return $this->access_levels_list->main($variables);
    }

}
